package com.homeWork05;

public class Test {
    public static void main(String[] args) {
        Lock lock=new Lock();
        Produce p=new Produce(lock);
        consumption c=new consumption(lock);

        p.start();
        c.start();
    }
}
